//2009/08/20 14:21:04
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class MedianOfNumbers
{
public:
    int findMedian(vector <int> numbers)
    {
		int sz = numbers.size();
		if(sz % 2 == 0) return -1;
		sort(numbers.begin(), numbers.end());
		sz = (sz + 1) /2;
		return numbers[sz-1];
    }
};
